package com.cjh.wxdemoserver.peopel.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cjh.wxdemoserver.peopel.dto.PeopelQueryDTO;
import com.cjh.wxdemoserver.peopel.dto.PeopleSexChartDataDTO;
import com.cjh.wxdemoserver.peopel.entity.Peopel;

import java.util.List;

/**
 * @author ChenJH
 * @description Peopel业务层
 */

public interface PeopelService {
    Page<Peopel> page(Page<Peopel> page, PeopelQueryDTO peopelQueryDTO);
    Peopel getById(Long id);
    void add(Peopel peopel);
    void update(Peopel peopel);
    void delete(Long id);
    List<PeopleSexChartDataDTO> getSexChartData();
}
